package cn.linstudy.dao;


import cn.linstudy.domain.Department;
import cn.linstudy.qo.DepartmentQuertObject;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> listAll();

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    List<Department> listForPage(DepartmentQuertObject qo);

    int listCount(DepartmentQuertObject qo);
}